<h3 class="block_title"><?php echo __('IP_Products');?></h3>
<div class="hp_products">
    <ul>
        <?php foreach($highlight_products as $product):?>
            <?php
            $image = is_null($product->image_name) ? 'no-image.png' : $product->image_name;
            $product_name = shorten_str($product->product_name, PRODUCT_NAME_MAXLENGTH_HOMEPAGE);
            $uri = get_base_url() . url_title($product->category, 'dash', TRUE) . '-c' . $product->categories_id . '/' . get_uri_product($product->product_name, $product->id);
            ?>
            <li>
                <a href="<?php echo $uri; ?>">
                    <img src="/images/products/thumbnails/<?php echo $image; ?>" title="<?php echo $product->product_name; ?>" alt="<?php echo $product->product_name; ?>"/>
                </a>
                <a href="<?php echo $uri; ?>"><h3><?php echo $product_name;?></h3></a>
            </li>
            <?php endforeach;?>
    </ul>
</div>
